<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Nfc Interactor: NfcRecordItem Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="nfcinteractor80.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Nfc Interactor
   &#160;<span id="projectnumber">2.1.0</span>
   </div>
   <div id="projectbrief">Shows all information about NFC tags available through Qt Mobility APIs. Includes reusable convenience classes for handling additional tag types: Smart Poster, Image and vCard.</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#signals">Signals</a> &#124;
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">NfcRecordItem Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="NfcRecordItem" -->
<p>Individual record item contained in the <a class="el" href="class_nfc_record_model.html" title="Stores and manages the editable data, which can be transformed to an NDEF message.">NfcRecordModel</a>.  
 <a href="class_nfc_record_item.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="nfcrecorditem_8h_source.html">nfcrecorditem.h</a>&gt;</code></p>

<p><a href="class_nfc_record_item-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nfc_record_item.html#a3276dc0a0fa3c4beea99533a4f45051d">RecordRoles</a> { <br/>
&#160;&#160;<b>TitleRole</b> =  Qt::UserRole + 1, 
<b>MessageTypeRole</b>, 
<b>RecordContentRole</b>, 
<b>CurrentTextRole</b>, 
<br/>
&#160;&#160;<b>SelectOptionsRole</b>, 
<b>SelectedOptionRole</b>, 
<b>RemoveVisibleRole</b>, 
<b>AddVisibleRole</b>, 
<br/>
&#160;&#160;<b>RecordIdRole</b>
<br/>
 }</td></tr>
<tr><td colspan="2"><h2><a name="signals"></a>
Signals</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8d4169ef9be8cbea924b74bcc14cb787"></a><!-- doxytag: member="NfcRecordItem::dataChanged" ref="a8d4169ef9be8cbea924b74bcc14cb787" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>dataChanged</b> ()</td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7bae00f66a16680e7a038f89a08a3164"></a><!-- doxytag: member="NfcRecordItem::NfcRecordItem" ref="a7bae00f66a16680e7a038f89a08a3164" args="(QObject *parent=0)" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>NfcRecordItem</b> (QObject *parent=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7bcaf16ea72f06566864039f310493fc"></a><!-- doxytag: member="NfcRecordItem::NfcRecordItem" ref="a7bcaf16ea72f06566864039f310493fc" args="(const QString &amp;title, NfcTypes::MessageType messageType, NfcTypes::RecordContent recordContent, const QString &amp;currentText, bool removeVisible, bool addVisible, int recordId, QObject *parent=0)" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nfc_record_item.html#a7bcaf16ea72f06566864039f310493fc">NfcRecordItem</a> (const QString &amp;title, <a class="el" href="class_nfc_types.html#a1ff0384b1733be7e1cb8baaf52ce891f">NfcTypes::MessageType</a> messageType, <a class="el" href="class_nfc_types.html#ae29245a8a2a4d24dd3de2f9d3db83691">NfcTypes::RecordContent</a> recordContent, const QString &amp;currentText, bool removeVisible, bool addVisible, int recordId, QObject *parent=0)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new record item with the supplied information and an optional parent. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a153abc99ecccf35a1b094d5e5c2f3e4c"></a><!-- doxytag: member="NfcRecordItem::data" ref="a153abc99ecccf35a1b094d5e5c2f3e4c" args="(int role) const " -->
QVariant&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nfc_record_item.html#a153abc99ecccf35a1b094d5e5c2f3e4c">data</a> (int role) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current data of the instance, based on the <em>role</em>. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad3dce406ae2db40736c7e8e1cf35ccd4"></a><!-- doxytag: member="NfcRecordItem::setData" ref="ad3dce406ae2db40736c7e8e1cf35ccd4" args="(const QVariant &amp;value, const QString &amp;role)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nfc_record_item.html#ad3dce406ae2db40736c7e8e1cf35ccd4">setData</a> (const QVariant &amp;value, const QString &amp;role)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set data of the item using the role name as a string. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aee1afdcddb2a011a5d882aa3caf62067"></a><!-- doxytag: member="NfcRecordItem::setData" ref="aee1afdcddb2a011a5d882aa3caf62067" args="(const QVariant &amp;value, const int role)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nfc_record_item.html#aee1afdcddb2a011a5d882aa3caf62067">setData</a> (const QVariant &amp;value, const int role)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set data of the item using the role name as an int (based on the enum, which is not supported by QML). <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af4a7f0e7422892612e27a101e2c2d277"></a><!-- doxytag: member="NfcRecordItem::roleNames" ref="af4a7f0e7422892612e27a101e2c2d277" args="() const " -->
QHash&lt; int, QByteArray &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nfc_record_item.html#af4a7f0e7422892612e27a101e2c2d277">roleNames</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get all role names supported for this item, to be used by the model for generic setting and retrieving data. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3c06dffe3784b607998835bc6df79a6d"></a><!-- doxytag: member="NfcRecordItem::title" ref="a3c06dffe3784b607998835bc6df79a6d" args="() const " -->
Q_INVOKABLE QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nfc_record_item.html#a3c06dffe3784b607998835bc6df79a6d">title</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the title text / header of the record item. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae18f03ef8b5feadfa2b7dd29fb152dee"></a><!-- doxytag: member="NfcRecordItem::setTitle" ref="ae18f03ef8b5feadfa2b7dd29fb152dee" args="(const QString &amp;title)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nfc_record_item.html#ae18f03ef8b5feadfa2b7dd29fb152dee">setTitle</a> (const QString &amp;title)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the title text / header of the record item. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4d92d401ae4cae96898a4e317c66030e"></a><!-- doxytag: member="NfcRecordItem::messageType" ref="a4d92d401ae4cae96898a4e317c66030e" args="() const " -->
Q_INVOKABLE <a class="el" href="class_nfc_types.html#a1ff0384b1733be7e1cb8baaf52ce891f">NfcTypes::MessageType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nfc_record_item.html#a4d92d401ae4cae96898a4e317c66030e">messageType</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the message type this item adds info to. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a87845bde127bd7ca871d8170d78fb846"></a><!-- doxytag: member="NfcRecordItem::setMessageType" ref="a87845bde127bd7ca871d8170d78fb846" args="(const NfcTypes::MessageType messageType)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nfc_record_item.html#a87845bde127bd7ca871d8170d78fb846">setMessageType</a> (const <a class="el" href="class_nfc_types.html#a1ff0384b1733be7e1cb8baaf52ce891f">NfcTypes::MessageType</a> messageType)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the message type this item adds info to. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1d199f2b3af825191131e06c5dc6c042"></a><!-- doxytag: member="NfcRecordItem::recordContent" ref="a1d199f2b3af825191131e06c5dc6c042" args="() const " -->
Q_INVOKABLE <a class="el" href="class_nfc_types.html#ae29245a8a2a4d24dd3de2f9d3db83691">NfcTypes::RecordContent</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nfc_record_item.html#a1d199f2b3af825191131e06c5dc6c042">recordContent</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the record content - the detail of the NDEF record that is stored by this specific instance. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Q_INVOKABLE int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nfc_record_item.html#a23ee50fa06359524bf792f21aa17e940">recordContentInt</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the record content - the detail of the NDEF record that is stored by this specific instance.  <a href="#a23ee50fa06359524bf792f21aa17e940"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a476f0648dd9495a3244bd9f9295658a0"></a><!-- doxytag: member="NfcRecordItem::setRecordContent" ref="a476f0648dd9495a3244bd9f9295658a0" args="(const NfcTypes::RecordContent recordContent)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nfc_record_item.html#a476f0648dd9495a3244bd9f9295658a0">setRecordContent</a> (const <a class="el" href="class_nfc_types.html#ae29245a8a2a4d24dd3de2f9d3db83691">NfcTypes::RecordContent</a> recordContent)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the record content - the detail of the NDEF record that is stored by this specific instance. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nfc_record_item.html#ac5c9c51b22217986fd1db45f2c613c3e">currentText</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The current text of the record item.  <a href="#ac5c9c51b22217986fd1db45f2c613c3e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Q_INVOKABLE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nfc_record_item.html#a3b0780d833ac21b95b35bf67ed07eb75">setCurrentText</a> (const QString &amp;currentText)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the current text of the record item.  <a href="#a3b0780d833ac21b95b35bf67ed07eb75"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a78ee4066d905c7dff0784c5e58f3618d"></a><!-- doxytag: member="NfcRecordItem::selectOptions" ref="a78ee4066d905c7dff0784c5e58f3618d" args="() const " -->
QVariantList&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nfc_record_item.html#a78ee4066d905c7dff0784c5e58f3618d">selectOptions</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the list of option items / radio buttons for this record item, in case it is of a type that uses a selection instead of a text field. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaad619a7b1b89c64d64eb18c2cace6a6"></a><!-- doxytag: member="NfcRecordItem::setSelectOptions" ref="aaad619a7b1b89c64d64eb18c2cace6a6" args="(const QVariantList selectOptions)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nfc_record_item.html#aaad619a7b1b89c64d64eb18c2cace6a6">setSelectOptions</a> (const QVariantList selectOptions)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the list of option items / radio buttons for this record item, in case it is of a type that uses a selection instead of a text field. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a265edde61756915e6482e124dd69552f"></a><!-- doxytag: member="NfcRecordItem::selectedOption" ref="a265edde61756915e6482e124dd69552f" args="() const " -->
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nfc_record_item.html#a265edde61756915e6482e124dd69552f">selectedOption</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the currently selected option / radio button for this record item, in case it is of a type that uses a selection instead of a text field. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1417d058227ccfd36f427d5a793dca08"></a><!-- doxytag: member="NfcRecordItem::setSelectedOption" ref="a1417d058227ccfd36f427d5a793dca08" args="(const int selectedOption)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nfc_record_item.html#a1417d058227ccfd36f427d5a793dca08">setSelectedOption</a> (const int selectedOption)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the currently selected option / radio button for this record item, in case it is of a type that uses a selection instead of a text field. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a618d736a09bd92f75bcd663f2c7ad8bd"></a><!-- doxytag: member="NfcRecordItem::removeVisible" ref="a618d736a09bd92f75bcd663f2c7ad8bd" args="() const " -->
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nfc_record_item.html#a618d736a09bd92f75bcd663f2c7ad8bd">removeVisible</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether this record item can be removed again from the message. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab79de4af0c8ec60e11979f619a20085e"></a><!-- doxytag: member="NfcRecordItem::setRemoveVisible" ref="ab79de4af0c8ec60e11979f619a20085e" args="(const bool removeVisible)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nfc_record_item.html#ab79de4af0c8ec60e11979f619a20085e">setRemoveVisible</a> (const bool removeVisible)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether this record item can be removed again from the message. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nfc_record_item.html#ad38d6168008e264150f60314aa8895b4">addVisible</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether a sub-item can be added after this record item to the same message type, providing more detail.  <a href="#ad38d6168008e264150f60314aa8895b4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nfc_record_item.html#ad2481ede899f1c5025ab4abcb959d529">setAddVisible</a> (const bool addVisible)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether a sub-item can be added after this record item to the same message type, providing more detail.  <a href="#ad2481ede899f1c5025ab4abcb959d529"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4c178302d84d67c2be9fdf1a4877674c"></a><!-- doxytag: member="NfcRecordItem::recordId" ref="a4c178302d84d67c2be9fdf1a4877674c" args="() const " -->
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nfc_record_item.html#a4c178302d84d67c2be9fdf1a4877674c">recordId</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the record id this record item belongs to. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a41d1b0364f93d6a5ec2abb9fd95b5c55"></a><!-- doxytag: member="NfcRecordItem::setRecordId" ref="a41d1b0364f93d6a5ec2abb9fd95b5c55" args="(const int recordId)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_nfc_record_item.html#a41d1b0364f93d6a5ec2abb9fd95b5c55">setRecordId</a> (const int recordId)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the record id this record item belongs to. <br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Individual record item contained in the <a class="el" href="class_nfc_record_model.html" title="Stores and manages the editable data, which can be transformed to an NDEF message.">NfcRecordModel</a>. </p>
<p>The item stores all the data needed to properly draw it on the UI using a delegate, as well as to convert it to a piece of information in an NDEF record.</p>
<p>Note that an individual <a class="el" href="class_nfc_record_item.html" title="Individual record item contained in the NfcRecordModel.">NfcRecordItem</a> doesn't represent a whole NDEF record, just one piece of information in it (like the text language in a title record in a Smart Poster, or the longitude in a Geo record).</p>
<p>A valid construct that can be converted to an NDEF record needs to be made of at least a single <a class="el" href="class_nfc_record_item.html" title="Individual record item contained in the NfcRecordModel.">NfcRecordItem</a> of the header record content type, with the message type defining the NDEF record it's representing, so that the <a class="el" href="class_nfc_model_to_ndef.html" title="Builds an NDEF message based on the data stored in the NfcRecordModel.">NfcModelToNdef</a> class can properly convert it.</p>
<p>Typically, at least one other NfcRecordItems follow successively after the header, containing the data to be stored in the record (e.g., longitude, latitude, title, title language, etc.). All of those NfcRecordItems that belong together have to be stored right after each other in the model, all with the same message type.</p>
<p>A header content type is only allowed at the beginning of a record definition, afterwards only data NfcRecordItems can follow; another header would mean the beginning of another record definition. </p>
</div><hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="a3276dc0a0fa3c4beea99533a4f45051d"></a><!-- doxytag: member="NfcRecordItem::RecordRoles" ref="a3276dc0a0fa3c4beea99533a4f45051d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_nfc_record_item.html#a3276dc0a0fa3c4beea99533a4f45051d">NfcRecordItem::RecordRoles</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Roles according to data stored in a Qt model, which can then be requested from this class. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ad38d6168008e264150f60314aa8895b4"></a><!-- doxytag: member="NfcRecordItem::addVisible" ref="ad38d6168008e264150f60314aa8895b4" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool NfcRecordItem::addVisible </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Whether a sub-item can be added after this record item to the same message type, providing more detail. </p>
<p>This is usually only the case for header items. Could be combined with the message header type to save this boolean in the future, if there is no need for a separate <a class="el" href="class_nfc_record_item.html#ad38d6168008e264150f60314aa8895b4" title="Whether a sub-item can be added after this record item to the same message type, providing more detai...">addVisible()</a> when more different item editors are added. </p>

</div>
</div>
<a class="anchor" id="ac5c9c51b22217986fd1db45f2c613c3e"></a><!-- doxytag: member="NfcRecordItem::currentText" ref="ac5c9c51b22217986fd1db45f2c613c3e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString NfcRecordItem::currentText </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The current text of the record item. </p>
<p>Used by most record items (exception being for example the selection item) </p>

</div>
</div>
<a class="anchor" id="a23ee50fa06359524bf792f21aa17e940"></a><!-- doxytag: member="NfcRecordItem::recordContentInt" ref="a23ee50fa06359524bf792f21aa17e940" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int NfcRecordItem::recordContentInt </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the record content - the detail of the NDEF record that is stored by this specific instance. </p>
<p>The record content is actually stored as an enum, but to communicate with QML, this is casted to an int. </p>

</div>
</div>
<a class="anchor" id="ad2481ede899f1c5025ab4abcb959d529"></a><!-- doxytag: member="NfcRecordItem::setAddVisible" ref="ad2481ede899f1c5025ab4abcb959d529" args="(const bool addVisible)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void NfcRecordItem::setAddVisible </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>addVisible</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Whether a sub-item can be added after this record item to the same message type, providing more detail. </p>
<p>This is usually only the case for header items. Could be combined with the message header type to save this boolean in the future, if there is no need for a separate <a class="el" href="class_nfc_record_item.html#ad38d6168008e264150f60314aa8895b4" title="Whether a sub-item can be added after this record item to the same message type, providing more detai...">addVisible()</a> when more different item editors are added. </p>

</div>
</div>
<a class="anchor" id="a3b0780d833ac21b95b35bf67ed07eb75"></a><!-- doxytag: member="NfcRecordItem::setCurrentText" ref="a3b0780d833ac21b95b35bf67ed07eb75" args="(const QString &amp;currentText)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void NfcRecordItem::setCurrentText </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>currentText</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the current text of the record item. </p>
<p>Used by most record items (exception being for example the selection item) </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="nfcrecorditem_8h_source.html">nfcrecorditem.h</a></li>
<li>nfcrecorditem.cpp</li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Properties</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Mon Mar 12 2012 13:32:49 for Nfc Interactor by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
